<?php
namespace app\common\validate;
use think\Validate;
class ComCodephone extends Validate
{
    protected $rule    = [
        'phone' => 'require|mobile',
    ];
    protected $message = [
        'phone.requier' => '手机号码不能为空',
        'phone.mobile' => '手机号码格式错误',
    ];
}
